[VTD][QUIRK] add spin lock across snb pre/postamble functions
authorKeir Fraser <keir@xen.org>
Wed, 9 Feb 2011 08:40:05 +0000 (08:40 +0000)
committerKeir Fraser <keir@xen.org>
Wed, 9 Feb 2011 08:40:05 +0000 (08:40 +0000)
commitf4b185362da47e1d9189ed3eb73cd8eca80c364e
tree6ff3fe9061048b6255fee5e89e7a63f9d840ef56
parent31960417a919c6d883547e1f6c73bd90f0d2ef03
[VTD][QUIRK] add spin lock across snb pre/postamble functions

Added a spinlock across snb_vtd_ops_preamble() and
snb_vtd_ops_postamble() to make modifications to IGD registers atomic.
Continue keeping snb_igd_quirk default off.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
xen/drivers/passthrough/vtd/quirks.c